package com.lzq.springboot_lzq.service;

import com.lzq.springboot_lzq.pojo.User;
import com.lzq.springboot_lzq.pojo.dto.UserDto;

public interface IUserService {
    //插入用户
    User add(UserDto user);
    //查询用户
    User findById(int id);
    Iterable<User> findAll();
    //编辑用户
    User edit(UserDto user);
    //删除用户
    User delete(int id);
}
